package com.example.pc.startproject_333wzj.service;

import com.example.pc.startproject_333wzj.bean.WeatherInfo;
import com.example.pc.startproject_333wzj.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Part;

/**
 * Created by pc on 2017/3/14.
 */
//Retrofit访问网络---2，定义接口
public interface WeatherService {
    @GET("data/sk/{cityNumber}.html")
    Call<WeatherResult> getResult
        (@Part("cityNumber")String cityNumber);
}
